namespace OasisCiq.Xnal
{
    using Xnl;

    /// <summary>
    /// The main name has a relationship with a dependant name.
    /// The dependant name should be put under this element and the relationship described.
    /// E.g. Eastbourne Goats Trust in care of Wellingon Lawers Ltd., Ram Kumar, C/O Sakthisoft, etc
    /// </summary>
    public class DependencyName : PartyNameType
    {
        /// <summary>
        /// This attribute describes the nature/type of relationship between
        /// the main name and the dependency. E.g. 'C/O', 'in care of' or 'a son of'.
        /// Required!
        /// </summary>
        public virtual DependencyTypeList Type { get; set; }
    }
}